package org.example.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum BaseErrorEnums {

    SYS_ERROR(500,"系统异常"),

    LOGIN_JWT_EXPRISE(401,"token失效"),
    LOGIN_JWT_VERIFY(401,"验签失败"),
    LOGIN_NO_AUTH(401,"没有权限"),
    LOGIN_WECHAT_OPENID_ERROR(1000,"openid获取失败"),

    BASE_NO_DATE(2000,"没有数据")
    ;

    Integer code;

    String msg;
}
